package com.example.mannortycoon.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.mannortycoon.entity.SysUserEntity;
import com.example.mannortycoon.uitl.PageUtils;

import java.util.List;
import java.util.Map;

public interface SysUserService extends IService<SysUserEntity> {
    PageUtils queryPage(Map<String, Object> params);

    SysUserEntity queryByUserName(String username);

    List<Long> queryAllMenuId(Long userId);

    void saveUser(SysUserEntity user);

    void update(SysUserEntity user);
}
